<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: Page Types - Writing direction is taken from the root element's direction property</title>
  <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
  <link rel="help" href="http://www.w3.org/TR/css3-page/#page-type"/>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <meta name="flags" content="paged" />
  <meta name="assert" content="If the UA supports the 'direction' property from CSS2, it must determine the major writing direction using the value of that property on the root element"/>
  <style type="text/css"><![CDATA[
  	html {direction: rtl;}
  ]]></style>
 </head>
 <body>
	<div>An exclamation point should appear as the leftmost character in the next paragraph.</div>
	<div>مفتاح معايير الويب!</div>
 </body>
</html>